include($$PWD/../../QTC.pri)

# Config Para
CONFIG(debug, debug|release):{
    FILE_POSTFIX = d
    DIR_COMPILEMODE = Debug
}
else:CONFIG(release, debug|release):{
    FILE_POSTFIX =
    DIR_COMPILEMODE = Release
}

win32:{
    DIR_PLATFORM = Win32
    DESTDIR	= $$PWD/../../Bin/$${DIR_PLATFORM}/$${DIR_COMPILEMODE}/$${IDE_APP_TARGET}/bin
}
else:mac:{
    DIR_PLATFORM = MAC
    DESTDIR  = $$PWD/../../Bin/$${DIR_PLATFORM}/$${DIR_COMPILEMODE}/$${IDE_APP_TARGET}/bin
}
else:linux:{
    DIR_PLATFORM = Linux
    DESTDIR  = $$PWD/../../Bin/$${DIR_PLATFORM}/$${DIR_COMPILEMODE}/$${IDE_APP_TARGET}/bin
}

DIR_DEPEND_DEST = $$PWD/../../Bin/$${DIR_PLATFORM}/$${DIR_COMPILEMODE}/$${IDE_APP_TARGET}/bin
DIR_DEPEND_LIB_DEST = $${DIR_DEPEND_DEST}

isEmpty(IDE_LIBRARY_BASENAME) {
    IDE_LIBRARY_BASENAME = lib
}

DEFINES += IDE_LIBRARY_BASENAME=\\\"$$IDE_LIBRARY_BASENAME\\\"
DEFINES += IDE_APP_TARGET=\\\"IDE_APP_TARGET\\\"
